<?php
/*========================================= JooSam =========================================/
/																							/
/	Extention:		JooSam																	/
/	Created by:		ScriptPlanet.eu															/
/	Site:			http://www.scriptplanet.eu												/
/	Email:			support@scriptplanet.eu													/
/	Support:		http://www.scriptplanet.eu/support										/
/	Copyright:		2011 (c) ScriptPlanet.eu												/
/	License:		CC BY-NC-ND 3.0 ~ http://creativecommons.org/licenses/by-nc-nd/3.0/		/
/	File Version:	0001																	/
/																							/
/========================================== JooSam ========================================*/
// Joomla Security
defined('_JEXEC') or die;
JHtml::_('behavior.tooltip');

$data = '';
$data = $this->requestData[0];

if($data == ''){
	$name = JText::_('COM_JOOSAM_ANONYMOUS');
	$msg = JText::_('COM_JOOSAM_NOMSG');
}
else{
	$name = $data['name'];
	$msg = $data['msg'];
}
$name = utf8_encode($name);
$msg = utf8_encode($msg);
?>
<input type="hidden" id="jsam_thanks_hideName" value="<?php echo $name; ?>"/>
<input type="hidden" id="jsam_thanks_hideText" value="<?php echo $msg; ?>"/>
